#include <boost/format.hpp>   
#include <boost/tokenizer.hpp>   
#include <boost/algorithm/string.hpp>   

typedef vector<string> vString;
typedef vString::iterator vStringIter;

void CQuote::Split(char *sz,int len,vString & v)
{
    string full(""),tmp("");
    full.append(sz,len);  
    std::size_t found = full.find("="); 
    if (found == full.npos)
    {
        return;
    }
    full = full.substr(found+2,len - found - 1);
	//逗号分割
    boost::split(v, full,boost::is_any_of(_T(","))); 
	for (size_t i  =0;i<v.size();i++)  
	{  
		OutputDebugStringA(v[i].c_str());  
		OutputDebugString(L"\n");
	} 
}

void main()
{
	vString v;
    v.clear();
    Split(sz,len,v);
}